<script>
import AboutApi from '../api/about';

export default {
   data() {
      return {
         siteInfo: {}
      }
   },
   mounted() {
      const api = new AboutApi();
      api.getSiteInfo().then(result => {
         this.siteInfo = result.data;
         console.log(result);
      });
   },
}
</script>

<template>
   <div class="about">
      <dl>
         <dt>{{ siteInfo.siteName }}</dt>
         <dd>{{ siteInfo.siteIcp }}</dd>
         <dd>{{ siteInfo.clientIp }}</dd>
         </dl>
      </div>
</template>

<style></style>